package test;
// 下面几行代码有问题么?
// byte e = 128;
// short s = 32767;
// int d = 3.3;
// float a = 2.2;
// double b = 3;
// double c = 3.3;

public class Demo3 {
    public static void main(String[] args) {
         byte e = 12;
         short s = 32767;//short最大不能超过32767
         int d = 3;//int不能有小数点
         float a = 2.2f;//加f
         double b = 3d;//double太大后面加d
         double c = 3.3d;//double太大后面加d
    }
}
